import moment from 'moment'
// 待入职
export const waitInductionThead = [
  {
    type: 'selection',
    minWidth: 60,
    align: 'center'
  },
  {
    title: '公司名称',
    key: 'companyName',
    minWidth: 120
  },
  {
    title: '姓名',
    key: 'name',
    minWidth: 120
  },
  {
    title: '身份证号码',
    key: 'idCardNo',
    minWidth: 120
  },
  {
    title: '性别',
    key: 'sexName',
    minWidth: 120,
  },
  {
    title: '手机号码',
    key: 'phone',
    minWidth: 120,
  },
  {
    title: '创建时间',
    key: 'createdOn',
    minWidth: 120,
    render: (h, params) => {
      const text = params.row.createdOn ? moment(params.row.createdOn).format('YYYY-MM-DD') : ''
      return h('span', text)
    }
  },
  {
    title: '操作',
    key: 'action',
    minWidth: 120,
    slot: 'action'
  },
]
